package com.cat.recruit.bean.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 钟健裕
 *
 * 用于封装列表数据
 */
@Builder
@Data
@Schema(description = "列表数据")
@NoArgsConstructor
@AllArgsConstructor
public class ListDTO {
    @Schema(description = "总记录数")
    private Integer total;

    @Schema(description = "总页数")
    private Integer totalPage;

    @Schema(description = "当前页码")
    private Integer pageNum;

    @Schema(description = "当前页记录数")
    private Integer currentSize;

    @Schema(description = "分页数据")
    private Object data;

}
